﻿package model 
{
	
	/**
	 * ...
	 * @author Slavshik Alexander
	 */
	public class User 
	{
		public var uid:int = 3485491;
		public var fname:String;
		public var lname:String;
		public var nickname:String;
		public var bdate:String;
 		
		public var sex/*1 - женский, 2 - мужской, 0 - без указания пола.*/:int = 2;
		public var friends/*User*/:Array = [];
		public var albums/*Album*/:Array = [];
		public var isAppUser:Boolean = false;
		public var haveNoPhotos:Boolean = false;
		public var ava:String;
		
		public function get name():String {
			return fname + " " + lname;
		}
		public function toString():String {
			return "[User " + uid + " " + fname + " " + lname + "]"
		}
		
	}
	
}